package cn.gorit.entity.admin;


import java.io.Serializable;

/**
 * @version v1.0
 * @Classname Admin
 * @Description 管理员实体类
 * @Author Gorit
 * @Created by 2021/3/8 23:35
 * @IDLE IntelliJ IDEA
 **/
public class Admin implements Serializable {

    // 管理员 ID，主键 自增
    private Integer id;

    // 管理员登录账户 必须字段
    private String username;

    // 管理员登录密码 必须字段
    private String password;

    // 管理员真实姓名 非必须字段
    private String name;

    // 管理员头像 必须字段
    private String header;

    // 管理员签名 非必须字段
    private String signature;

    // 管理员登录时间 非必须字段
    private String loginTime;

    // 管理员创建的日期
    private String createTime;

    public Admin() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(String loginTime) {
        this.loginTime = loginTime;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", name='" + name + '\'' +
                ", header='" + header + '\'' +
                ", signature='" + signature + '\'' +
                ", loginTime='" + loginTime + '\'' +
                ", createTime='" + createTime + '\'' +
                '}';
    }
}
